<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: dom  YAHOO.util.Point   (YUI Library)</title>
	
	<link rel="shortcut icon" href="assets/yui_icon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1>
        	<a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a>
        	<img src="assets/yui_icon.png" alt="YUI文档中文化" />
        </h1>
        <h3>dom&nbsp; <span class="subtitle">2.7.0b</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_dom.html" title="dom">dom</a>
                 &gt; YAHOO.util.Point 
                
        <form onsubmit="return false">
            <div id="propertysearch">
                搜索: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <h2>
                        

                        
                        
                            Class <b property="yui:name">YAHOO.util.Point</b>
                        <span class="extends">
                           - extends <a href="YAHOO.util.Region.html" title="YAHOO.util.Region">YAHOO.util.Region</a>
                        </span>

                    </h2>
                    <!-- class tree goes here -->
                    
                
  

                    <div class="summary description" property="yui:description">
                        一个点构成的区域，这是比较特殊的，表示栅格阵列上的一个点。
                    </div>

                        <div class="section constructor details" rel="yui:constructor" resource="#constructor">
                        <h3 id="constructor">Constructor</h3>
                        <div class="content">
                            <div class="detail">
                                <strong property="yui:name">YAHOO.util.Point</strong>
                                <code>
                                    (
  
                                        
                                                
                                                x

                                                , 
                                                y
                                    )
                                </code>
                                <div class="description">
                                        <dl rel="yui:parameters">
                                            <dt>Parameters:</dt>
                                                <dd rel="yui:parameter">
                                                    <code><span property="yui:name">x</span>
                                                    &lt;<span property="yui:type">Int</span>&gt;
                                                    </code>
                                                    <span property="yui:description"> 点的X坐标</span>
                                                </dd>
                                                <dd rel="yui:parameter">
                                                    <code><span property="yui:name">y</span>
                                                    &lt;<span property="yui:type">Int</span>&gt;
                                                    </code>
                                                    <span property="yui:description"> 点的Y坐标</span>
                                                </dd>
                                        </dl>
                                    
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div rel="yui:properties" resource="#properties">

                        <div rel="yui:inheritance">
                        <div class="section field inheritance" rel="yui:superclass"  resource="YAHOO.util.Region.html">
                            <h4>Properties inherited from <a href="YAHOO.util.Region.html" property="yui:name" title="YAHOO.util.Region">YAHOO.util.Region</a>:</h4>
                            <div class="content" rel="yui:properties">
                                <code>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_0">
                                        <a class="" href="YAHOO.util.Region.html#property_0" property="yui:name" title="0">0</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_1">
                                        <a class="" href="YAHOO.util.Region.html#property_1" property="yui:name" title="1">1</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_bottom">
                                        <a class="" href="YAHOO.util.Region.html#property_bottom" property="yui:name" title="bottom">bottom</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_height">
                                        <a class="" href="YAHOO.util.Region.html#property_height" property="yui:name" title="height">height</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_left">
                                        <a class="" href="YAHOO.util.Region.html#property_left" property="yui:name" title="left">left</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_right">
                                        <a class="" href="YAHOO.util.Region.html#property_right" property="yui:name" title="right">right</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_top">
                                        <a class="" href="YAHOO.util.Region.html#property_top" property="yui:name" title="top">top</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_width">
                                        <a class="" href="YAHOO.util.Region.html#property_width" property="yui:name" title="width">width</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_x">
                                        <a class="" href="YAHOO.util.Region.html#property_x" property="yui:name" title="x">x</a><span class="">,</span>
                                        </span>
                                    
                                        <span rel="yui:property" resource="YAHOO.util.Region.html#property_y">
                                        <a class="" href="YAHOO.util.Region.html#property_y" property="yui:name" title="y">y</a>
                                        </span>
                                    
                                </code>
                            </div>
                        </div>
                        </div>
                    </div>

                    <div rel="yui:methods" resource="#methods">

                        <div rel="yui:inheritance">                    
                            <div class="section field inheritance" rel="yui:superclass"  resource="YAHOO.util.Region.html">
                                <h4>Methods inherited from <a href="YAHOO.util.Region.html" property="yui:name" title="YAHOO.util.Region">YAHOO.util.Region</a>:</h4>
                                <div class="content" rel="yui:methods">
                                    <code>
                                            <span rel="yui:method" resource="YAHOO.util.Region.html#method_contains">                                        
                                            <a class="" href="YAHOO.util.Region.html#method_contains" property="yui:name" title="contains">contains</a><span class="">,</span>
                                            </span>
                                            <span rel="yui:method" resource="YAHOO.util.Region.html#method_getArea">                                        
                                            <a class="" href="YAHOO.util.Region.html#method_getArea" property="yui:name" title="getArea">getArea</a><span class="">,</span>
                                            </span>
                                            <span rel="yui:method" resource="YAHOO.util.Region.html#method_intersect">                                        
                                            <a class="" href="YAHOO.util.Region.html#method_intersect" property="yui:name" title="intersect">intersect</a><span class="">,</span>
                                            </span>
                                            <span rel="yui:method" resource="YAHOO.util.Region.html#method_toString">                                        
                                            <a class="" href="YAHOO.util.Region.html#method_toString" property="yui:name" title="toString">toString</a><span class="">,</span>
                                            </span>
                                            <span rel="yui:method" resource="YAHOO.util.Region.html#method_union">                                        
                                            <a class="" href="YAHOO.util.Region.html#method_union" property="yui:name" title="union">union</a>
                                            </span>
                                    </code>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div rel="yui:events" resource="#events">


                    </div>

                    <div rel="yui:attributes" resource="#configattributes">

                    </div>

			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>模块</h4>
                        <ul class="content">
                                <li class=""><a href="module_animation.html" title="animation">animation</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_button.html" title="button">button</a></li>
                                <li class=""><a href="module_calendar.html" title="calendar">calendar</a></li>
                                <li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
                                <li class=""><a href="module_connection.html" title="connection">connection</a></li>
                                <li class=""><a href="module_container.html" title="container">container</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
                                <li class="selected"><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_element.html" title="element">element</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_get.html" title="get">get</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_layout.html" title="layout">layout</a></li>
                                <li class=""><a href="module_logger.html" title="logger">logger</a></li>
                                <li class=""><a href="module_menu.html" title="menu">menu</a></li>
                                <li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_selector.html" title="selector">selector</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_treeview.html" title="treeview">treeview</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
                                <li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
                                <li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>类</h4>
                        <ul class="content">
                                <li class=""><a href="YAHOO.util.Dom.html" title="YAHOO.util.Dom">YAHOO.util.Dom</a></li>
                                <li class="selected"><a href="YAHOO.util.Point.html" title="YAHOO.util.Point">YAHOO.util.Point</a></li>
                                <li class=""><a href="YAHOO.util.Region.html" title="YAHOO.util.Region">YAHOO.util.Region</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>文件</h4>
                        <ul class="content">        
                                <li class=""><a href="dom.js.html" title="dom.js">dom.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">
    ALL_YUI_PROPS = [{"url": "YAHOO.util.Region.html#property_0", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "0"}, {"url": "YAHOO.util.Region.html#property_1", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "1"}, {"url": "YAHOO.util.Dom.html#method_addClass", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "addClass"}, {"url": "YAHOO.util.Dom.html#method_batch", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "batch"}, {"url": "YAHOO.util.Region.html#property_bottom", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "bottom"}, {"url": "YAHOO.util.Region.html#method_contains", "access": "", "host": "YAHOO.util.Region", "type": "method", "name": "contains"}, {"url": "YAHOO.util.Dom.html#method_generateId", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "generateId"}, {"url": "YAHOO.util.Dom.html#method_get", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "get"}, {"url": "YAHOO.util.Dom.html#method_getAncestorBy", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getAncestorBy"}, {"url": "YAHOO.util.Dom.html#method_getAncestorByClassName", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getAncestorByClassName"}, {"url": "YAHOO.util.Dom.html#method_getAncestorByTagName", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getAncestorByTagName"}, {"url": "YAHOO.util.Region.html#method_getArea", "access": "", "host": "YAHOO.util.Region", "type": "method", "name": "getArea"}, {"url": "YAHOO.util.Dom.html#method_getAttibute", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getAttibute"}, {"url": "YAHOO.util.Dom.html#method_getChildren", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getChildren"}, {"url": "YAHOO.util.Dom.html#method_getChildrenBy", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getChildrenBy"}, {"url": "YAHOO.util.Dom.html#method_getClientHeight", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getClientHeight"}, {"url": "YAHOO.util.Dom.html#method_getClientRegion", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getClientRegion"}, {"url": "YAHOO.util.Dom.html#method_getClientWidth", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getClientWidth"}, {"url": "YAHOO.util.Dom.html#method_getDocumentHeight", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getDocumentHeight"}, {"url": "YAHOO.util.Dom.html#method_getDocumentScrollLeft", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getDocumentScrollLeft"}, {"url": "YAHOO.util.Dom.html#method_getDocumentScrollTop", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getDocumentScrollTop"}, {"url": "YAHOO.util.Dom.html#method_getDocumentWidth", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getDocumentWidth"}, {"url": "YAHOO.util.Dom.html#method_getElementBy", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getElementBy"}, {"url": "YAHOO.util.Dom.html#method_getElementsBy", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getElementsBy"}, {"url": "YAHOO.util.Dom.html#method_getElementsByClassName", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getElementsByClassName"}, {"url": "YAHOO.util.Dom.html#method_getFirstChild", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getFirstChild"}, {"url": "YAHOO.util.Dom.html#method_getFirstChildBy", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getFirstChildBy"}, {"url": "YAHOO.util.Dom.html#method_getLastChild", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getLastChild"}, {"url": "YAHOO.util.Dom.html#method_getLastChildBy", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getLastChildBy"}, {"url": "YAHOO.util.Dom.html#method_getNextSibling", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getNextSibling"}, {"url": "YAHOO.util.Dom.html#method_getNextSiblingBy", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getNextSiblingBy"}, {"url": "YAHOO.util.Dom.html#method_getPreviousSibling", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getPreviousSibling"}, {"url": "YAHOO.util.Dom.html#method_getPreviousSiblingBy", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getPreviousSiblingBy"}, {"url": "YAHOO.util.Dom.html#method_getRegion", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getRegion"}, {"url": "YAHOO.util.Region.html#method_getRegion", "access": "", "host": "YAHOO.util.Region", "type": "method", "name": "getRegion"}, {"url": "YAHOO.util.Dom.html#method_getStyle", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getStyle"}, {"url": "YAHOO.util.Dom.html#method_getViewportHeight", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getViewportHeight"}, {"url": "YAHOO.util.Dom.html#method_getViewportWidth", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getViewportWidth"}, {"url": "YAHOO.util.Dom.html#method_getX", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getX"}, {"url": "YAHOO.util.Dom.html#method_getXY", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getXY"}, {"url": "YAHOO.util.Dom.html#method_getY", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "getY"}, {"url": "YAHOO.util.Dom.html#method_hasClass", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "hasClass"}, {"url": "YAHOO.util.Region.html#property_height", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "height"}, {"url": "YAHOO.util.Dom.html#method_inDocument", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "inDocument"}, {"url": "YAHOO.util.Dom.html#method_insertAfter", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "insertAfter"}, {"url": "YAHOO.util.Dom.html#method_insertBefore", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "insertBefore"}, {"url": "YAHOO.util.Region.html#method_intersect", "access": "", "host": "YAHOO.util.Region", "type": "method", "name": "intersect"}, {"url": "YAHOO.util.Dom.html#method_isAncestor", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "isAncestor"}, {"url": "YAHOO.util.Region.html#property_left", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "left"}, {"url": "YAHOO.util.Dom.html#method_removeClass", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "removeClass"}, {"url": "YAHOO.util.Dom.html#method_replaceClass", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "replaceClass"}, {"url": "YAHOO.util.Region.html#property_right", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "right"}, {"url": "YAHOO.util.Dom.html#method_setAttibute", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "setAttibute"}, {"url": "YAHOO.util.Dom.html#method_setStyle", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "setStyle"}, {"url": "YAHOO.util.Dom.html#method_setX", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "setX"}, {"url": "YAHOO.util.Dom.html#method_setXY", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "setXY"}, {"url": "YAHOO.util.Dom.html#method_setY", "access": "", "host": "YAHOO.util.Dom", "type": "method", "name": "setY"}, {"url": "YAHOO.util.Region.html#property_top", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "top"}, {"url": "YAHOO.util.Region.html#method_toString", "access": "", "host": "YAHOO.util.Region", "type": "method", "name": "toString"}, {"url": "YAHOO.util.Region.html#method_union", "access": "", "host": "YAHOO.util.Region", "type": "method", "name": "union"}, {"url": "YAHOO.util.Region.html#property_width", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "width"}, {"url": "YAHOO.util.Region.html#property_x", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "x"}, {"url": "YAHOO.util.Region.html#property_y", "access": "", "host": "YAHOO.util.Region", "type": "property", "name": "y"}];
</script>
</body>
</html>
